import { addAppComponent } from '@/app'
import MapPositionVue from './MapPosition.vue'

export {
  type MapPosition,
  setMapCenter,
  setMapCenterIfNotContain,
  setMapZoom,
  setMapBearing,
  setMapPitch
} from './position'

export function setupMapPosition() {
  addAppComponent({ component: MapPositionVue }, { right: 0, bottom: 0 })
}
